package com.um.psystem.service.exService;

import com.um.psystem.model.vo.JsonResult;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @Auther: AiLen2E
 * @Date: 2021/10/27 10:20
 * @version: 1.0
 */
public interface IExceptDictService {

    List<Map<String,Object>> getDeptList(Map map);

    @Transactional
    JsonResult<Integer> deleDept(Integer id);
    @Transactional
    JsonResult<Integer> addDept(Map map);
    @Transactional
    JsonResult<Integer> editDept(Map map);

    List<Map<String,Object>> getExceptionTypeList(Map map);

    @Transactional
    JsonResult<Integer> deleExceptionType(Integer id);
    @Transactional
    JsonResult<Integer> addExceptionType(Map map);
    @Transactional
    JsonResult<Integer> editExceptionType(Map map);

}
